<?php
namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;

class CourseVideoHistory extends Model
{
    use HasDateTimeFormatter;

    protected $table = 'course_video_history';

    protected $primaryKey = 'id';

    protected $fillable = [
        'member_id', // 用户ID
        'course_id', // 课程ID
        'course_video_id', // 课程视频ID
        'pace', // 观看进度(百分比)
    ];
}
